package com.steven.im.base;

import android.os.Environment;

import java.io.File;

/**
 * 常量类
 */

public class Constant {
    //全局的TAG
    public static String TAG = "HT-IM";

    //===============目录信息==================
    public interface DIR_INFO {
        //应用目录
        String APP_DIR = Environment.getExternalStorageDirectory().getAbsolutePath()
                + File.separator + "pintuan";
    }

    //===============分享信息==================
    public interface ShareInfo {
        String QQ_APPID = "1108062993";
    }

    //===============阿里云OOS信息==================
    public interface AliOOS {
        String KEY_ID = "key_id";
        String KEY_SECRET = "key_secret";
        String BACKET_NAME = "backet_name";
        String DOMAIN = "domain";
        String END_POINT = "end_point";
    }

    //===============个推信息==================
    public interface Getui {
        String APPID = "qqtRfdkG696bbBEjWyjsn3";
        String APPKEY = "5yd91sZxie8SqE0pa5wjV9";
        String APP_SECRET = "DRicS3we047O27DgpOQyG";
    }


    //===============公共信息==================
    public interface CommonInfo {
        String JSON_HEADER = "application/json";//JSON请求头
        String TOKEN = "token";//token信息
        String PAGE_SIZE = "10";//分页加载，每页显示数目
        String JSESSIONID = "jseSessionId";
        String USER_INFO = "userInfo";//用户信息
        String IS_FIRST = "isFirst";
        String ACCESS_TOKEN = "accessToken";

    }


    //===============微信信息==================
    public interface WxInfo {
        String WX_APPID = "wx9174dd0f62a88263";
        String WX_SECRET = "c97c8029e0a088db9ffcf659915637b6";
        String WX_OPEN_ID = "wx_openid";
        String WX_UNIONID = "wx_unionid";
    }

    //===============用户信息==================
    public interface UserInfo {
        String ID = "userId";//用户ID
        String ACCOUNT = "userAccount";//用户账号
        String NICKNAME = "userNickname";//用户昵称
        String AVATAR = "userAvatar";//用户头像
    }

    //===============新浪微博信息==================
    public interface SinaInfo {
        String APP_KEY = "1679174682";
        String APP_SECRET = "54d32a9129e0f687abbd5dd495356e84";
    }

    //===============开机广告信息==================
    public interface AdvertInfo {
        String title = "title";//标题
        String imageUrl = "imageUrl";//广告图片地址
        String SHOW_ADVERT = "showAdvert";//是否显示广告信息
        String actionType = "actionType";
        String actionUrl = "actionUrl";
    }

    //    ==============扫描二维码===============
    public static boolean isPhoto = false;//默认不是  从相册选取的进行扫描
    public static final int QRCode = 110;
    public static final int PhotoCode = 111;
    //    ==============选择照片===============
    public static final int TAKE_PHOTO_CODE = 112;
    public static final int PICK_PHOTO_CODE = 113;
    public static final int EDIT_NICKNAME = 114;
    public static final int NEW_GROUP_NAME = 115;
}
